package com.gxc.dao.jpa;

import com.gxc.entity.User;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * User JPA.
 *
 * @author 宫新程
 * @since 2018/12/5 10:14 AM
 */
public interface UserRepository extends JpaRepository<User, Integer> {

  /** 根据用户名查询. */
  List<User> findByUsername(String username);
}
